package com.hzw.saas.service.workspace.pojo.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * AWS容器集群配置表
 * </p>
 *
 * @author sonam
 * @since 2021-02-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_aws_ecs_config")
public class AwsEcsConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(type = IdType.INPUT)
    private String configId;

    /**
     * 用户空间id
     */
    private String productId;

    /**
     * 用户ID
     */
    private String cpu;

    /**
     * 产品ID
     */
    private String memory;

    /**
     * 名称
     */
    private String dockerName;

    /**
     * docker镜像
     */
    private String dockerImage;

    /**
     * docker挂载目录
     */
    private String dockerMount;

    /**
     * 端口
     */
    private Integer dockerPort;

    /**
     * 集群名称
     */
    private String cluster;

    /**
     * filesystem_id
     */
    private String filesystemId;

    /**
     * 网络连接方式：bridge
     */
    private String networkMod;

    /**
     * 运行方式：EC2
     */
    private String launchType;

    private String taskRole;

    private Integer userLevel;


}
